package com.robot.dao;

import com.robot.bean.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by duqingxiang on 17/5/5.
 */
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
    List<User> findAll();
}
